package a07_responsibilityChainPattern;

public class Client {

	public static void main(String[] args) {
		int bugLevel = 17;
		BugHandler bugHandler = new Developer();
		BugHandler tl = new TeamLeader();
		BugHandler pm = new ProjectManager();
		tl.setSuccessor(pm);
		bugHandler.setSuccessor(tl);
		bugHandler.handle(bugLevel);

	}

}
